﻿using System;
using System.Linq;
using System.Text;
using FastMvc.Crud;
using FastMvc.Crud.Models;

namespace JQ.SAAS.Entity
{
    ///<summary>
    ///系统机构表
    ///</summary>
    public partial class sys_organization
    {
        public sys_organization() {


        }
        /// <summary>
        /// 唯一主键，当前系统，全部采用Guid作为唯一主键
        /// </summary>
        public string sId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime dCreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime dUpdateTime { get; set; }
        /// <summary>
        /// Desc:数据库所在地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string DBConnection { get; set; }

        /// <summary>
        /// Desc:数据库备份地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string DBSlaveConnection { get; set; }

        /// <summary>
        /// Desc:数据库类型0:Mysql，1:SqlServer
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? DBType { get; set; }

        /// <summary>
        /// Desc:联系邮件地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Email { get; set; }

        /// <summary>
        /// Desc:联系电话
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Phone { get; set; }

        /// <summary>
        /// Desc:机构地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string sAddress { get; set; }

        /// <summary>
        /// Desc:联系人名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string sContract { get; set; }

        /// <summary>
        /// Desc:机构代码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string sOrgCode { get; set; }

        /// <summary>
        /// Desc:机构名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string sOrgName { get; set; }
    }
}
